﻿public class ZsProduct
{
    public string pid;
    public string gemNum;
    public string certificate;
    public string certificateNum;
    public string shape;
    public string heft;
    public string colors;
    public string cleanliness;
    public string cleanOrder;
    public string polishing;
    public string symmetry;
    public string cut;
    public string fluorescence;
    public string BottomTine;
    public string sizes;
    public string width;
    public string waist;
    public string high;
    public string hatJiao;
    public string BottomDeep;
    public string BottomJiao;
    public string rapnetDiscount;
    public string datetime;
    public string state;
    public string isHome;
    public string isHost;
    public string isTop;
    public string Origin;
    public string Price;
    public string Country;
    public string StoreNum;
    public string TotalPrice;
    public string LotNum;
    public string StockNum;
    public string pavillion;
    public string depth;
    public string table;
    public string Crown;
    public string Ratio;
    public string Availability;
    public string Inscription;
    public string ImageUrl;
    public void GetDataFrom(A3Product oA3Product)
    {
        
        char[] tmpShape = oA3Product.Shape.ToLower().ToCharArray();   
        tmpShape[0] = (char)(tmpShape[0] - ('a' - 'A'));
        this.shape = new string(tmpShape);

        this.symmetry = oA3Product.Sym.ToUpper().Substring(0, 1);
    }


}